//
//  UserDefaultsData.h
//  宜居Ipad
//
//  Created by URANUS on 15/7/27.
//  Copyright (c) 2015年 URANUS. All rights reserved.
//   App的基本数据管理函数

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
//#import "ServerHeader.h"

#define ALL_UserNum         @"AllLoginUserName"
#define Lest_UserNum        @"LestUserNum"
#define Lest_UserPassword   @"LestUserPassword"

@interface UserDefaultsData : NSObject

+(NSMutableDictionary *)UserModleDevice;
+(void)saveUserLoginInfo:(NSString *)lestUser andPassword:(NSString *)password;
+(void)saveUserOthersInfoProID:(NSString *)proID andSalerID:(NSString *)salerID andSalerName:(NSString *)salerName andHxUserName:(NSString *)hxUserName andHxPassword:(NSString *)hxPassword andsalerNamePic:(NSString *)salerHeadPic andMyName:(NSString *)myName;
+(NSMutableDictionary *)allLoginUserData;//获取用户登录的基本数据的函数
//拿到NSUserDefaults
+(NSUserDefaults *)getLocalUserDefaluts;
//拿到销售人员的名字
+(NSString *)getSalerRealName;
//拿到销售人员的头像地址
+(NSString *)getSalerHeadPhoto;
//设置销售人员头像地址
+(void)setSalerHeadPhoto:(NSString *)headPhoto;
//拿到销售人员的账号名
+(NSString *)getSalerName;
//拿到销售人员吧的id
+(NSString *)getSalerId;
//拿到项目的id
+(NSString *)getProid;
@end